﻿<telerik:RadMenuItem x:Class="SystemModule.Views.SystemManagerMenuView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
                     xmlns:helper="clr-namespace:Infrastructure.Helpers;assembly=Infrastructure"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                     Header="Hệ thống"
                     >
    <telerik:RadMenuItem.Resources>
        <helper:VisibilityConverter x:Key="BooleanToVisibilityConverter" />
    </telerik:RadMenuItem.Resources>

    <telerik:RadMenuItem Visibility="{Binding Path=IsVisible, Converter={StaticResource BooleanToVisibilityConverter},Mode=TwoWay}"
        x:Name="menuItemNhomNguoiDung" Header="Quản lý Nhóm người dùng" Command="{Binding ShowNhomNguoiDungViewCommand}">
        <telerik:RadMenuItem.Icon>
            <Image Source="../Images/Menu/1folder.png" Stretch="None"/>
        </telerik:RadMenuItem.Icon>
    </telerik:RadMenuItem>
    <telerik:RadMenuItem Visibility="{Binding Path=IsVisible, Converter={StaticResource BooleanToVisibilityConverter}, Mode=TwoWay}"
        x:Name="menuItemNguoiDung" Header="Quản lý Người dùng" Command="{Binding ShowNguoiDungViewCommand}">
        <telerik:RadMenuItem.Icon>
            <Image Source="../Images/Menu/1folder.png" Stretch="None"/>
        </telerik:RadMenuItem.Icon>
    </telerik:RadMenuItem>
    <!--<telerik:RadMenuItem Visibility="{Binding Path=IsVisible, Converter={StaticResource BooleanToVisibilityConverter},Mode=TwoWay}"
        x:Name="menuItemQuyen" Header="Quản lý Quyền" Command="{Binding ShowQuyenViewCommand}">
        <telerik:RadMenuItem.Icon>
            <Image Source="../Images/Menu/1folder.png" Stretch="None"/>
        </telerik:RadMenuItem.Icon>
    </telerik:RadMenuItem>-->
</telerik:RadMenuItem>